home *** CD-ROM | disk | FTP | other *** search
- global gFieldTop, gchaptertextheight, glessonnumber, theSparkle, gplaystatus, gAfterClick
-
- on mouseDown
- set mouseloc to (getAt(clickLoc(), 2) - gFieldTop) / gchaptertextheight
- if (mouseloc >= 1) and (mouseloc <= glessonnumber) then
- pausethemoov()
- sparkle(theSparkle, getAt(clickLoc(), 1), getAt(clickLoc(), 2))
- set gplaystatus to #pause
- donewchapter(mouseloc, 1, #pause)
- set gAfterClick to 1
- end if
- end
-